from scrapy import cmdline #导入命令行
cmdline.execute("scrapy crawl tianyanspider".split( ))